package com.stdspringboot.service.impl;

import com.stdspringboot.mapper.IUserMapper;
import com.stdspringboot.service.IUserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserSrvImpl implements IUserService {

    @Resource
    private IUserMapper mapper;
    @Override
    public int logoff(String id) {

        return mapper.updateStatusById(90,id);
    }
}
